package com.example.ymm.modules1.service.hl;

import com.alibaba.fastjson.JSONArray;
import com.example.ymm.base.BaseService;
import com.example.ymm.modules1.entity.hl.dkn.DknForecastSave;

import java.util.List;

public interface DknForecastSaveService extends BaseService<DknForecastSave> {


    /**
     * 保存数据
     * @param jsonArray
     */
    void saveForecast(JSONArray jsonArray);


    void cleanForecast();

    DknForecastSave getModelCodeAndItemName(String modelCode,String itemName);


    List<DknForecastSave> getInModelCode(List<String> modelCodeIn);


    List<DknForecastSave> findListByModelCode(String modelCode,List<DknForecastSave> list);

    DknForecastSave findModelCodeAndItemName(String modelCode,String itemName,List<DknForecastSave> list);

}
